PROJECT(ch1)

cmake_minimum_required(VERSION 3.5)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${ch1_SOURCE_DIR}/bin)

find_package(OpenCV REQUIRED)

include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(ch1 main.cpp)

link_directories(${OpenCV_LIBRARY_DIRS})

target_link_libraries(ch1 ${OpenCV_LIBS})


